﻿@model blogDemo.Models.user

@{
    ViewBag.Title = "登录";
}

@ViewBag.rst

<div style="height:450px;"></div>
<div id="loginModal" class="modal show">
    <div class="modal-dialog">
        <div style="height:80px;"></div>
        <div class="modal-content">
            <div class="modal-header">
                <h1 class="text-center text-primary">登录</h1>
            </div>
            <div class="modal-body">
                <form action="/admin/login" class="form col-md-12 center-block" method="post">
                    <div class="form-group">
                        <input type="text" name="username" class="form-control input-lg" placeholder="用户名">
                    </div>
                    <div class="form-group">
                        <input type="password" name="password" class="form-control input-lg" placeholder="登录密码">
                    </div>
                    <div class="form-group">
                        <button class="btn btn-primary btn-lg btn-block">立刻登录</button>
                        <span><a href="#">找回密码</a></span>
                        <span><a href="/admin/regist" class="pull-right">注册</a></span>
                    </div>
                </form>
            </div>
            <div class="modal-footer">

            </div>
        </div>
    </div>
</div>
